<template>
    <el-dialog 
        :title="Data['name_'+lang]" 
        custom-class="popup_dialog"
        :append-to-body="true"
        :visible.sync="show"
        @close="close"
        width="600px"
        :close-on-click-modal="false"
        :close-on-press-escape="false"
    >
       <div class="content" v-html="Data['content_'+lang]"></div>
    </el-dialog>
</template>
<script>
    export default {
        components: {},
        props: ["show",'Data'],
        data() {
            return{

            }
        },
        computed:{
            lang(){
                return sessionStorage.getItem("lang")=='zh-CN'?'zh':sessionStorage.getItem("lang")=='zh-TW'?'tc':'en';
            }
        },
        mounted(){},
        methods:{
            // 关闭交易弹窗
            close() {
                this.$emit("closeClick",'isStatement');
            },
        },
        watch:{

        },
    }
</script>
<style lang="less">
    .popup_dialog{
        .content{
            height:500px;
            overflow: auto;
        }
    }
</style>